package com.zr.sms.model;

public class Goods {
	private int gid; //商品id
	private String gname;//商品名称
	private int ginventory;//商品库存
	private double gprice;//商品价格
	private String gdate;//商品日期
	private String gquality;//商品数量
	private String gaddress;//商品进货地点
	private String gclassify;//商品分类
	private double gcost;//商品单价
	public int getGid() {
		return gid;
	}
	public double getGcost() {
		return gcost;
	}
	public void setGcost(double gcost) {
		this.gcost = gcost;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public int getGinventory() {
		return ginventory;
	}
	public void setGinventory(int ginventory) {
		this.ginventory = ginventory;
	}
	public double getGprice() {
		return gprice;
	}
	public void setGprice(double gprice) {
		this.gprice = gprice;
	}
	public String getGdate() {
		return gdate;
	}
	public void setGdate(String gdate) {
		this.gdate = gdate;
	}
	public String getGquality() {
		return gquality;
	}
	public void setGquality(String gquality) {
		this.gquality = gquality;
	}
	public String getGaddress() {
		return gaddress;
	}
	public void setGaddress(String gaddress) {
		this.gaddress = gaddress;
	}
	public String getGclassify() {
		return gclassify;
	}
	public void setGclassify(String gclassify) {
		this.gclassify = gclassify;
	}
	public Goods() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Goods(int gid, String gname, int ginventory, double gprice, String gdate, String gquality, String gaddress,
			String gclassify, double gcost) {
		super();
		this.gid = gid;
		this.gname = gname;
		this.ginventory = ginventory;
		this.gprice = gprice;
		this.gdate = gdate;
		this.gquality = gquality;
		this.gaddress = gaddress;
		this.gclassify = gclassify;
		this.gcost = gcost;
	}
	@Override
	public String toString() {
		return "Goods [gid=" + gid + ", gname=" + gname + ", ginventory=" + ginventory + ", gprice=" + gprice
				+ ", gdate=" + gdate + ", gquality=" + gquality + ", gaddress=" + gaddress + ", gclassify=" + gclassify
				+ "]";
	}
}
